package fr.emse.tatiana.filter;

import java.io.IOException;

public class XQuery extends XQueryOut {
	
	public XQuery(String xqueryfile, Object[] xqueryargs) throws IOException {
		super(xqueryfile, xqueryargs, TempFileFactory.getName());
	}
	
	public XQuery(String xqueryfile, Object xqueryarg) throws IOException {
		this(xqueryfile, new Object[]{xqueryarg});
	}
	
	public XQuery(String xqueryfile, Object xqueryarg1, Object xqueryarg2) throws IOException {
		this(xqueryfile, new Object[]{xqueryarg1,xqueryarg2});
	}

	public XQuery(String xqueryfile, Object xqueryarg1, Object xqueryarg2, Object xqueryarg3) throws IOException {
		this(xqueryfile, new Object[]{xqueryarg1,xqueryarg2, xqueryarg3});
	}
	
	public XQuery(String xqueryfile, Object xqueryarg1, Object xqueryarg2, Object xqueryarg3, Object xqueryarg4) throws IOException {
		this(xqueryfile, new Object[]{xqueryarg1,xqueryarg2, xqueryarg3, xqueryarg4});
	}
	
	public XQuery(String xqueryfile, Object xqueryarg1, Object xqueryarg2, Object xqueryarg3, Object xqueryarg4, String xqueryarg5) throws IOException {
		this(xqueryfile, new Object[]{xqueryarg1,xqueryarg2, xqueryarg3, xqueryarg4, xqueryarg5});
	}
	
}
